<template>
    <div>
      <h3>Welcome ：{{user_id}}</h3>
    </div>
  </template>
  <script>
  export default{
    data(){
      return{
        user_id:0,
      }
    },
    created(){
      this.getUserId()
    },
    methods:{
      getUserId(){
        this.user_id = window.sessionStorage.getItem('token')
      }
    }
  }
</script>
  